\documentclass[twoside]{book}

% Packages required by doxygen
\usepackage{calc}
\usepackage{doxygen}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{makeidx}
\usepackage{multicol}
\usepackage{multirow}
\usepackage{textcomp}
\usepackage[table]{xcolor}

% Font selection
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage[scaled=.90]{helvet}
\usepackage{courier}
\usepackage{amssymb}
\usepackage{sectsty}
\renewcommand{\familydefault}{\sfdefault}
\allsectionsfont{%
  \fontseries{bc}\selectfont%
  \color{darkgray}%
}
\renewcommand{\DoxyLabelFont}{%
  \fontseries{bc}\selectfont%
  \color{darkgray}%
}

% Page & text layout
\usepackage{geometry}
\geometry{%
  a4paper,%
  top=2.5cm,%
  bottom=2.5cm,%
  left=2.5cm,%
  right=2.5cm%
}
\tolerance=750
\hfuzz=15pt
\hbadness=750
\setlength{\emergencystretch}{15pt}
\setlength{\parindent}{0cm}
\setlength{\parskip}{0.2cm}
\makeatletter
\renewcommand{\paragraph}{%
  \@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{%
    \normalfont\normalsize\bfseries\SS@parafont%
  }%
}
\renewcommand{\subparagraph}{%
  \@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{%
    \normalfont\normalsize\bfseries\SS@subparafont%
  }%
}
\makeatother

% Headers & footers
\usepackage{fancyhdr}
\pagestyle{fancyplain}
\fancyhead[LE]{\fancyplain{}{\bfseries\thepage}}
\fancyhead[CE]{\fancyplain{}{}}
\fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}}
\fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}}
\fancyhead[CO]{\fancyplain{}{}}
\fancyhead[RO]{\fancyplain{}{\bfseries\thepage}}
\fancyfoot[LE]{\fancyplain{}{}}
\fancyfoot[CE]{\fancyplain{}{}}
\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated on Mon Jul 29 2013 20:06:41 for Political Classifier by Doxygen }}
\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Mon Jul 29 2013 20:06:41 for Political Classifier by Doxygen }}
\fancyfoot[CO]{\fancyplain{}{}}
\fancyfoot[RO]{\fancyplain{}{}}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\chaptermark}[1]{%
  \markboth{#1}{}%
}
\renewcommand{\sectionmark}[1]{%
  \markright{\thesection\ #1}%
}

% Indices & bibliography
\usepackage{natbib}
\usepackage[titles]{tocloft}
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{5}
\makeindex

% Hyperlinks (required, but should be loaded last)
\usepackage{ifpdf}
\ifpdf
  \usepackage[pdftex,pagebackref=true]{hyperref}
\else
  \usepackage[ps2pdf,pagebackref=true]{hyperref}
\fi
\hypersetup{%
  colorlinks=true,%
  linkcolor=blue,%
  citecolor=blue,%
  unicode%
}

% Custom commands
\newcommand{\clearemptydoublepage}{%
  \newpage{\pagestyle{empty}\cleardoublepage}%
}


%===== C O N T E N T S =====

\begin{document}

% Titlepage & ToC
\hypersetup{pageanchor=false}
\pagenumbering{roman}
\begin{titlepage}
\vspace*{7cm}
\begin{center}%
{\Large Political Classifier \\[1ex]\large 1.\-0 }\\
\vspace*{1cm}
{\large Generated by Doxygen 1.8.4}\\
\vspace*{0.5cm}
{\small Mon Jul 29 2013 20:06:41}\\
\end{center}
\end{titlepage}
\clearemptydoublepage
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}
\hypersetup{pageanchor=true}

%--- Begin generated contents ---
\chapter{Namespace Index}
\input{namespaces}
\chapter{Hierarchical Index}
\input{hierarchy}
\chapter{Class Index}
\input{annotated}
\chapter{Namespace Documentation}
\input{namespace_political_classifier}
\input{namespace_political_classifier_1_1_application}
\input{namespace_political_classifier_1_1_application_1_1_test_bench}
\input{namespace_political_classifier_1_1_calculations}
\input{namespace_political_classifier_1_1_data_source}
\input{namespace_political_classifier_1_1_data_source_1_1_tests}
\input{namespace_political_classifier_1_1_domain}
\input{namespace_political_classifier_1_1_domain_1_1_tests}
\input{namespace_political_classifier_1_1_framework}
\input{namespace_political_classifier_1_1_framework_1_1_test}
\input{namespace_political_classifier_1_1_plot_generator}
\input{namespace_political_classifier_1_1_support}
\input{namespace_political_classifier_1_1_web}
\input{namespace_political_classifier_1_1_web_1_1_controllers}
\input{namespace_political_classifier_1_1_web_1_1_models}
\input{namespace_political_classifier_1_1_web_1_1_validation}
\chapter{Class Documentation}
\input{class_political_classifier_1_1_web_1_1_bundle_config}
\input{class_political_classifier_1_1_domain_1_1_candidate}
\input{class_political_classifier_1_1_framework_1_1_candidate_manager}
\input{class_political_classifier_1_1_framework_1_1_test_1_1_candidate_manager_test}
\input{class_political_classifier_1_1_support_1_1_candidate_results_collection}
\input{class_political_classifier_1_1_data_source_1_1_data_set_source}
\input{class_political_classifier_1_1_data_source_1_1_data_source_connection}
\input{class_political_classifier_1_1_data_source_1_1_tests_1_1_data_source_connection_test}
\input{class_political_classifier_1_1_web_1_1_models_1_1_display_results_view_model}
\input{class_political_classifier_1_1_web_1_1_validation_1_1_file_attribute}
\input{class_political_classifier_1_1_web_1_1_filter_config}
\input{interface_political_classifier_1_1_support_1_1_i_candidate}
\input{interface_political_classifier_1_1_support_1_1_i_candidate_manager}
\input{interface_political_classifier_1_1_support_1_1_i_candidate_results}
\input{interface_political_classifier_1_1_support_1_1_i_data_set_reader}
\input{interface_political_classifier_1_1_support_1_1_i_data_set_source}
\input{interface_political_classifier_1_1_support_1_1_i_data_source_connection}
\input{interface_political_classifier_1_1_support_1_1_i_data_source_load_error}
\input{interface_political_classifier_1_1_support_1_1_i_data_source_load_results}
\input{interface_political_classifier_1_1_support_1_1_i_data_source_load_warning}
\input{interface_political_classifier_1_1_support_1_1_i_plot_generator}
\input{interface_political_classifier_1_1_support_1_1_i_simulation_results}
\input{interface_political_classifier_1_1_support_1_1_i_voter_attribute}
\input{interface_political_classifier_1_1_support_1_1_i_voter_record}
\input{interface_political_classifier_1_1_support_1_1_i_weight_attribute}
\input{interface_political_classifier_1_1_support_1_1_i_weight_manager}
\input{class_political_classifier_1_1_web_1_1_models_1_1_load_file_view_model}
\input{class_political_classifier_1_1_web_1_1_controllers_1_1_main_controller}
\input{class_political_classifier_1_1_web_1_1_mvc_application}
\input{class_political_classifier_1_1_plot_generator_1_1_plot_generator}
\input{struct_political_classifier_1_1_support_1_1_point2_d}
\input{class_political_classifier_1_1_web_1_1_models_1_1_point_view_model}
\input{class_political_classifier_1_1_calculations_1_1_political_classifier_calculate}
\input{class_political_classifier_1_1_application_1_1_political_classifier_modeler}
\input{class_political_classifier_1_1_application_1_1_test_bench_1_1_program}
\input{struct_political_classifier_1_1_support_1_1_range2_d}
\input{class_political_classifier_1_1_web_1_1_route_config}
\input{class_political_classifier_1_1_domain_1_1_voter_attribute}
\input{class_political_classifier_1_1_domain_1_1_tests_1_1_voter_attribute_test}
\input{class_political_classifier_1_1_domain_1_1_voter_record}
\input{class_political_classifier_1_1_domain_1_1_tests_1_1_voter_record_test}
\input{class_political_classifier_1_1_domain_1_1_weight_attribute}
\input{class_political_classifier_1_1_domain_1_1_tests_1_1_weight_attribute_test}
\input{class_political_classifier_1_1_framework_1_1_weight_manager}
\input{class_political_classifier_1_1_framework_1_1_test_1_1_weight_manager_test}
%--- End generated contents ---

% Index
\newpage
\phantomsection
\addcontentsline{toc}{part}{Index}
\printindex

\end{document}
